"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = SliderExample;

var _react = _interopRequireDefault(require("react"));

var _components = require("@tarojs/components");

var _index = _interopRequireDefault(require("../../index"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function SliderExample() {
  return /*#__PURE__*/_react.default.createElement(_components.View, {
    className: "page"
  }, /*#__PURE__*/_react.default.createElement(_components.Text, null, "Slider \u6ED1\u5757"), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u57FA\u672C\u7528\u6CD5"), /*#__PURE__*/_react.default.createElement(_index.default, null)), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u7981\u7528\u72B6\u6001"), /*#__PURE__*/_react.default.createElement(_index.default, {
    defaultValue: 30,
    disabled: true
  })), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u4E0D\u5C55\u793A\u63CF\u8FF0\u5185\u5BB9"), /*#__PURE__*/_react.default.createElement(_index.default, {
    defaultValue: 50,
    formatter: function formatter() {
      return null;
    }
  })), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u81EA\u5B9A\u4E49\u63CF\u8FF0\u5185\u5BB9"), /*#__PURE__*/_react.default.createElement(_index.default, {
    defaultValue: 40,
    formatter: function formatter(value) {
      return "".concat(value, " \u53F0");
    }
  })), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u81EA\u5B9A\u4E49\u53D6\u503C\u8303\u56F4"), /*#__PURE__*/_react.default.createElement(_index.default, {
    defaultValue: 40,
    max: 50,
    min: 10
  })), /*#__PURE__*/_react.default.createElement(_components.View, null, /*#__PURE__*/_react.default.createElement(_components.Text, null, "\u81EA\u5B9A\u4E49\u6B65\u957F"), /*#__PURE__*/_react.default.createElement(_index.default, {
    step: 10
  })));
}